package com.wcsy.myblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

@TableName("tb_qq")
public class Qq {
  @TableId(type = IdType.INPUT)
  @ApiModelProperty("qqId")
  private long qqId;
  @ApiModelProperty("用户id")
  private long userId;
  @ApiModelProperty("qq生成的唯一标识id")
  private String openId;


  public long getQqId() {
    return qqId;
  }

  public void setQqId(long qqId) {
    this.qqId = qqId;
  }


  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }


  public String getOpenId() {
    return openId;
  }

  public void setOpenId(String openId) {
    this.openId = openId;
  }

  @Override
  public String toString() {
    return "Qq{" +
            "qqId=" + qqId +
            ", userId=" + userId +
            ", openId='" + openId + '\'' +
            '}';
  }
}
